//
//  Point.hpp
//  Snake
//
//  Created by CmST0us on 16/11/26.
//  Copyright © 2016年 SpringEngine. All rights reserved.
//

#ifndef Point_h
#define Point_h

typedef struct Point{
    int x;
    int y;
    bool operator==(Point &point){
        if(point.x == this->x && point.y == this->y){
            return true;
        }else{
            return false;
        }
    };
}Point;

#endif /* Point_h */
